package part_01_Starting_Threads;


// anonymous class..the new Runnable class is created on the fly
public class App2 {

public static void main(String[] args) {
 
	Thread t1=new Thread(new Runnable() {
		
		@Override
		public void run() {
			
for (int i = 0; i < 10; i++) {
	System.out.println("print this "+i);
}		
			
		}
	});
	
	t1.start();
	
}	
	
	
}
